package hotel.switchs.oversea.api.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "价格公式配置表")
@Table(name = "switch_room_price_set")
public class SwitchRoomPriceSetEntity implements Serializable {
    private String id;
    @ApiModelProperty("星级")
    private int star;

    @ApiModelProperty("生效起始日期")
    private Date startTime;

    @ApiModelProperty("生效结束日期")
    private Date endTime;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty("价格调整比例")
    private double rate;

    @ApiModelProperty("最小价格")
    private double minPrice;

    @ApiModelProperty("最大价格")
    private double maxPrice;

    @ApiModelProperty("调整类型类型 0 按比例  1按价格区间")
    private int genre;

    @ApiModelProperty("调整类型上架类型:0 星级 1 城市 2 星级和城市 3 全部")
    private int mold;
    @ApiModelProperty("产品最小价格")
    private double goodMinPrice;
    @ApiModelProperty("产品最大价格")
    private double goodMaxPrice;

    private static final long serialVersionUID = 1L;


}
